package dao;

import pojo.Department;
import pojo.Employee;

import java.util.List;

public interface EmployeeDao {
    void addEmployee(Employee employee);
    void delEmployee(int id);
    void updateEmployee(int id, String name, String sex, int age, double salary, Department department);
    Employee selectEmployee(int id);
    List selectEmployeeByDep(int id);
    List selectEmployeeBySalary(String str);
    void showAllEmployee();
}
